FROM nginx:alpine

# 复制配置文件
COPY conf.d/default.conf /etc/nginx/conf.d/default.conf

# 创建静态文件目录
RUN mkdir -p /usr/share/nginx/html/admin /usr/share/nginx/html/tenant

# 暴露端口
EXPOSE 80

# 启动nginx
CMD ["nginx", "-g", "daemon off;"]